<template>
  <el-form label-width="100px">
    <el-form-item label="公司名称">
      <el-input v-model="form.name" disabled />
    </el-form-item>
    <el-form-item label="公司地址">
      <el-input v-model="form.companyAddress" disabled />
    </el-form-item>
    <el-form-item label="公司电话">
      <el-input v-model="form.companyPhone" disabled />
    </el-form-item>
    <el-form-item label="邮箱">
      <el-input v-model="form.mailbox" disabled />
    </el-form-item>
    <el-form-item label="备注">
      <el-input v-model="form.remarks" disabled />
    </el-form-item>
  </el-form>
</template>

<script>
import { company } from '@/api/setting.js'

export default {
  name: '',
  data() {
    return {
      form: ''
    }
  },
  computed: {},
  async created() {
    const res = await company(this.$store.state.user.userInfo.companyId)
    this.form = res.data
    console.log(res)
  },
  methods: {}
}
</script>
<style lang="less" scoped></style>
